package com.maybach.core.dal.mapper;

import com.maybach.common.model.ActLogDO;
import com.maybach.common.query.ActLogQuery;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper for ActLog.
 */
public interface ActLogMapper {
    /**
     * query count by query condition.
     */
    int countByQuery(ActLogQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(ActLogQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(ActLogDO record);

    /**
     * insert selective.
     */
    int insertSelective(ActLogDO record);

    /**
     * select by query condition.
     */
    List<ActLogDO> selectByQuery(ActLogQuery query);

    /**
     * select by primary key.
     */
    ActLogDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective(@Param("record") ActLogDO record, @Param("query") ActLogQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(@Param("record") ActLogDO record, @Param("query") ActLogQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(ActLogDO record);
}